examples: Fix clean rule in stand alone Makefiles
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 6 Dec 2014 13:30:24 +0000 (13:30 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 6 Dec 2014 13:30:24 +0000 (13:30 +0000)
Remove all the built files, including the exampleapp binary.

examples/application1/Makefile.example
examples/application10/Makefile.example
examples/application2/Makefile.example
examples/application3/Makefile.example
examples/application4/Makefile.example
examples/application5/Makefile.example
examples/application6/Makefile.example
examples/application7/Makefile.example
examples/application8/Makefile.example
examples/application9/Makefile.example

index bb1b86702522b68b0b5fef3b258000871dc34547..7b99cb56a1dfe90cd31e4584d3457975edf6b02d 100644 (file)
@@ -1,5 +1,4 @@
 CC = gcc
-LD = ld
 PKGCONFIG = $(shell which pkg-config)
 CFLAGS = `$(PKGCONFIG) --cflags gtk+-3.0`
 LIBS = `$(PKGCONFIG) --libs gtk+-3.0`
@@ -18,3 +17,4 @@ exampleapp: $(OBJS)
 
 clean:
        rm -f $(OBJS)
+       rm -f exampleapp
index 46a883e2cbb44fed05370348bfcd5f748b3b70b8..0561f77ca85046bff0913537cc8149257a7b523f 100644 (file)
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
        $(CC) -o $(@F) $(LIBS) $(OBJS)
 
 clean:
-       rm -f org.gtk.exampleapp.gschema.xml.valid
+       rm -f org.gtk.exampleapp.gschema.valid
        rm -f gschemas.compiled
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index 971c29c9908c4738075adba4c43742c1056007ee..f3d175f4b0631fb04f909eea17a805d24ab5bea5 100644 (file)
@@ -22,3 +22,4 @@ exampleapp: $(OBJS)
 clean:
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index 971c29c9908c4738075adba4c43742c1056007ee..f3d175f4b0631fb04f909eea17a805d24ab5bea5 100644 (file)
@@ -22,3 +22,4 @@ exampleapp: $(OBJS)
 clean:
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index 3ce29b3f0524564ffe92119415c2ee8a0be60e35..6a7f46be87650b30c8d69aa4fddfff26dcc397ed 100644 (file)
@@ -22,3 +22,4 @@ exampleapp: $(OBJS)
 clean:
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index a5ab30200805c603494306c8427213debc2f026c..ecfbe2947302ce5dbd824f9080643d6b09f5f371 100644 (file)
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
        $(CC) -o $(@F) $(LIBS) $(OBJS)
 
 clean:
-       rm -f org.gtk.exampleapp.gschema.xml.valid
+       rm -f org.gtk.exampleapp.gschema.valid
        rm -f gschemas.compiled
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index bd31b546f9607d617378d48368bbeabbc2967877..418cc4d18bfb467d203d8d5748779ba59c3c39d5 100644 (file)
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
        $(CC) -o $(@F) $(LIBS) $(OBJS)
 
 clean:
-       rm -f org.gtk.exampleapp.gschema.xml.valid
+       rm -f org.gtk.exampleapp.gschema.valid
        rm -f gschemas.compiled
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index 46a883e2cbb44fed05370348bfcd5f748b3b70b8..0561f77ca85046bff0913537cc8149257a7b523f 100644 (file)
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
        $(CC) -o $(@F) $(LIBS) $(OBJS)
 
 clean:
-       rm -f org.gtk.exampleapp.gschema.xml.valid
+       rm -f org.gtk.exampleapp.gschema.valid
        rm -f gschemas.compiled
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index 46a883e2cbb44fed05370348bfcd5f748b3b70b8..0561f77ca85046bff0913537cc8149257a7b523f 100644 (file)
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
        $(CC) -o $(@F) $(LIBS) $(OBJS)
 
 clean:
-       rm -f org.gtk.exampleapp.gschema.xml.valid
+       rm -f org.gtk.exampleapp.gschema.valid
        rm -f gschemas.compiled
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp
index 46a883e2cbb44fed05370348bfcd5f748b3b70b8..0561f77ca85046bff0913537cc8149257a7b523f 100644 (file)
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
        $(CC) -o $(@F) $(LIBS) $(OBJS)
 
 clean:
-       rm -f org.gtk.exampleapp.gschema.xml.valid
+       rm -f org.gtk.exampleapp.gschema.valid
        rm -f gschemas.compiled
        rm -f resources.c
        rm -f $(OBJS)
+       rm -f exampleapp